crypto/tls.clientHelloMsg.supportedCurves (field)
22 uses
crypto/tls (current package)
handshake_client.go#L78: supportedCurves: config.curvePreferences(maxVersion),
handshake_client.go#L141: if len(hello.supportedCurves) == 0 {
handshake_client.go#L147: curveID := hello.supportedCurves[0]
handshake_client.go#L157: if len(hello.keyShares) == 2 && !slices.Contains(hello.supportedCurves, hello.keyShares[1].group) {
handshake_client_tls13.go#L312: if !slices.Contains(hello.supportedCurves, curveID) {
handshake_messages.go#L80: supportedCurves []CurveID
handshake_messages.go#L189: if len(m.supportedCurves) > 0 {
handshake_messages.go#L197: for _, curve := range m.supportedCurves {
handshake_messages.go#L523: m.supportedCurves = append(m.supportedCurves, CurveID(curve))
handshake_messages.go#L696: supportedCurves: slices.Clone(m.supportedCurves),
handshake_server.go#L290: hs.ecdheOk, err = supportsECDHE(c.config, c.vers, hs.clientHello.supportedCurves, hs.clientHello.supportedPoints)
handshake_server.go#L1030: SupportedCurves: clientHello.supportedCurves,
handshake_server_tls13.go#L211: return !slices.Contains(hs.clientHello.supportedCurves, group)
handshake_server_tls13.go#L661: len(ch.supportedCurves) != len(ch1.supportedCurves) ||
handshake_server_tls13.go#L677: for i := range ch.supportedCurves {
handshake_server_tls13.go#L678: if ch.supportedCurves[i] != ch1.supportedCurves[i] {
key_agreement.go#L159: for _, c := range clientHello.supportedCurves {
key_agreement.go#L304: if !slices.Contains(clientHello.supportedCurves, ka.curveID) {